#include "levelitem.h"

LevelItem::LevelItem(const QString &imgName,
                     const QPoint &leftTop,
                     const QPoint &rightBottom,
                     QGraphicsScene *scene,
                     QGraphicsItem *parent) :
    ImageItem(imgName, leftTop, rightBottom, scene, parent)
{
    this->setEnabled(true);
}

LevelItem::~LevelItem()
{

}

void LevelItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
{

}

void LevelItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
{
    emit clicked(this);
}
